package net.aiion.weave.impl.routing;

import net.aiion.weave.spi.naming.annotations.DynamicScoped;
import net.aiion.weave.spi.routing.Route;
import net.aiion.weave.spi.routing.RouteMessage;


@DynamicScoped
public class RouteMessageImpl implements RouteMessage
{
    private final Route route;

    public RouteMessageImpl(final Route aRoute) {
        route = aRoute;
    }

    @Override
    public Route getRoute() {
        return route;
    }
}
